package com.zjl.page;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;

public class FirstPicturePage {
    @FindBy(xpath = "/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/androidx.viewpager.widget.ViewPager/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.RelativeLayout/androidx.viewpager.widget.ViewPager/android.widget.ImageView")
    public WebElement p1;
    @FindBy(xpath = "//android.view.View[@content-desc=\"国内新闻\"]/android.widget.TextView")
    public WebElement some1;
    public FirstPicturePage(WebDriver driver) {
        PageFactory.initElements(driver,this);
    }
}
